ns_pre_upgrade

Configuration for Pre Upgrade fro NetScaler resource.

Read/write properties

build_image_error<String>

Build image error for selected platform.

user_custom_info_details<String>

User custom info details.

ip_address<String>

IP Address.

connectivity_error<String>

NetScaler connectivity error.
Maximum length = 256

policy_check_details<String>

List of unsupported policies..

secondary_config_error<String>

NetScaler HA configuration inconsistency error between primary and secondary server.

ha_master_state<String>

Master State (Primary/Secondary).
Maximum length = 32

disk_space_error_details<String>

Disk space error for /var.

connectivity_error_details<String>

NetScaler connectivity error details.

image_var_nsinstall<String>

Build images available in /var/nsinstall directory.

disk_space_error<String>

Disk space error for /var.

config_error<String>

Config error if compatible configuration file not found.

policy_check<String>

Detected unsupported policy.
Maximum length = 64

user_custom_info<String>

User custom info.

hardware_error_details<String>

Hardware error like HDD error details.

ha_ip_address<String>

Peer IP Address.
Maximum length = 64

hardware_error<String>

Hardware error like HDD error.

id<String>

Id is system generated key.

primary_config_error<String>

NetScaler HA configuration inconsistency error between primary and secondary server.

Read only properties

uname<String>

System information about FreeBSD or Linux OS kernel.

act_id<String>

Activity Id.

display_name<String>

Display Name for this managed device. For HA pair it will be A-B, and for Cluster it will be CLIP.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)delete

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/ns_pre_upgrade

Query-parameters:

filter

https://<MGMT-IP>/nitro/v2/config/ns_pre_upgrade?filter=property-name1:property-value1,property-name2:property-value2

Use this query-parameter to get the filtered set of ns_pre_upgrade resources configured on the system. You can set a filter on any property of the resource.

pagesize=#no&pageno=#no

https://<MGMT-IP>/nitro/v2/config/ns_pre_upgrade?pagesize=#no&pageno=#no

Use this query-parameter to get the ns_pre_upgrade resources in chunks.

count

https://<MGMT-IP>/nitro/v2/config/ns_pre_upgrade?count=yes

Use this query-parameter to get the count of ns_pre_upgrade resources.

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_pre_upgrade":[{
      "build_image_error":<String_value>,
      "user_custom_info_details":<String_value>,
      "uname":<String_value>,
      "ip_address":<String_value>,
      "connectivity_error":<String_value>,
      "policy_check_details":<String_value>,
      "act_id":<String_value>,
      "secondary_config_error":<String_value>,
      "ha_master_state":<String_value>,
      "disk_space_error_details":<String_value>,
      "connectivity_error_details":<String_value>,
      "image_var_nsinstall":<String_value>,
      "disk_space_error":<String_value>,
      "display_name":<String_value>,
      "config_error":<String_value>,
      "policy_check":<String_value>,
      "user_custom_info":<String_value>,
      "hardware_error_details":<String_value>,
      "ha_ip_address":<String_value>,
      "hardware_error":<String_value>,
      "id":<String_value>,
      "primary_config_error":<String_value>}]}

delete

URL:https://<MGMT-IP>/nitro/v2/config/ns_pre_upgrade/id_value<String>

HTTPS Method:DELETE

Request Headers:

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value> }